package com.letv.core.bean;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 5.3首页运营区数据
 * */
public class HomePageBean implements LetvBaseBean {

    private static final long serialVersionUID = 1L;

    /**
     * 是否有乐视商场推广位
     */
    public static boolean sHasLetvShop = false;

    /**
     * 开机大图
     * */
    @JSONField(name = "bootings")
    private List<Booting> bootings = new ArrayList<Booting>();

    /**
     * 焦点图
     */
    @JSONField(name = "focus")
    private List<HomeMetaData> focus = new ArrayList<HomeMetaData>();

    /**
     * 模块列表
     * */
    @JSONField(name = "block")
    private List<HomeBlock> block = new ArrayList<HomeBlock>();

    /**
     * 重磅推荐
     */
    private HomeBlock recommend;

    private ArrayList<String> searchWords;

    public HomeBlock getRecommend() {
        return recommend;
    }

    public void setRecommend(HomeBlock recommend) {
        this.recommend = recommend;
    }

    public ArrayList<Booting> getBootings() {
        return (ArrayList<Booting>) bootings;
    }

    public void setBootings(ArrayList<Booting> bootings) {
        this.bootings = bootings;
    }

    public ArrayList<HomeMetaData> getFocus() {
        return (ArrayList<HomeMetaData>) focus;
    }

    public void setFocus(ArrayList<HomeMetaData> focus) {
        this.focus = focus;
    }

    public ArrayList<HomeBlock> getBlock() {
        return (ArrayList<HomeBlock>) block;
    }

    public void setBlock(ArrayList<HomeBlock> block) {
        this.block = block;
    }

    public ArrayList<String> getSearchWords() {
        return searchWords;
    }

    public void setSearchWords(ArrayList<String> searchWords) {
        this.searchWords = searchWords;
    }

    public static class Booting {

        /**
         * 开机大图的名字
         * */
        private String name;

        /**
         * 开机大图的地址
         * */
        private String pic;

        /**
         * 开始时间
         * */
        private String pushpic_starttime;

        /**
         * 结束时间
         * */
        private String pushpic_endtime;

        /**
         * 开机大图的序号
         * */
        private int order;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getPushpic_starttime() {
            return pushpic_starttime;
        }

        public void setPushpic_starttime(String pushpic_starttime) {
            this.pushpic_starttime = pushpic_starttime;
        }

        public String getPushpic_endtime() {
            return pushpic_endtime;
        }

        public void setPushpic_endtime(String pushpic_endtime) {
            this.pushpic_endtime = pushpic_endtime;
        }

        public int getOrder() {
            return order;
        }

        public void setOrder(int order) {
            this.order = order;
        }
    }
}
